import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'
const serviceName = '/sjsk-clinicmanage-service/sjsk'
/*-----------回访-----------*/
const addReturnVisit = (params) => postAction(`${serviceName}/rv/addReturnVisit`, params)
const exportRvRecord = (params) => downFile(`${serviceName}/rv/exportRvRecord`, params, 'post')
const getRvRecordById = (params) => postAction(`${serviceName}/rv/getRvRecordById`, params)
const page = (params) => postAction(`${serviceName}/rv/page`, params)
const personBasicInfo = (params) => postAction(`${serviceName}/rv/personBasicInfo`, params)
const getRvRecordDetailById = (params) => postAction(`${serviceName}/rv/getRvRecordDetailById`, params)

export { addReturnVisit, exportRvRecord, getRvRecordById, page, personBasicInfo, getRvRecordDetailById }
